package com.zhouchao.persistence.pojo;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

/**
 * @Author: zhouchao
 * @Date: 2021/05/03 17:13
 * @Description:
 */
public class Configuration {
    private DataSource dataSource;

    // key:statementid,value:MapperStatement
    private Map<String, MappedStatement> MapperStatementMap = new HashMap<>();

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public Map<String, MappedStatement> getMapperStatementMap() {
        return MapperStatementMap;
    }

    public void setMapperStatementMap(Map<String, MappedStatement> mapperStatementMap) {
        MapperStatementMap = mapperStatementMap;
    }
}
